<template>
    <div>
      <template v-for="(item, index) in options">
        <template v-if="value==item.deptId">
           <span>{{item.deptName}}</span>
        </template>
      </template>
    </div>
  </template>
  
  <script>
  export default {
    name: "departTag",
    props: {
      options: {
        type: Array,
        default: null,
      },
      value: [Number, String],
    },
    computed: {
     
    },
  };
  </script>
  <style scoped>
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  </style>